package com.punai.evaluationSystem.costDataEvalute.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.evaluationSystem.costDataEvalute.domain.EvaluationDataPrice;

import java.util.List;
import java.util.Map;

/**
 * priceMapper接口
 *
 * @author tj
 * @date 2023-04-25
 */
public interface EvaluationDataPriceMapper extends BaseMapper<EvaluationDataPrice>
{
    /**
     * 查询price
     *
     * @param id price主键
     * @return price
     */
    public EvaluationDataPrice selectEvaluationDataPriceById(String id);

    /**
     * 查询price列表
     *
     * @param evaluationDataPrice price
     * @return price集合
     */
    public List<EvaluationDataPrice> selectEvaluationDataPriceList(EvaluationDataPrice evaluationDataPrice);


    /**
     * 删除price
     *
     * @param id price主键
     * @return 结果
     */
    public int deleteEvaluationDataPriceById(String id);

    /**
     * 批量删除price
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEvaluationDataPriceByIds(String[] ids);

    List<EvaluationDataPrice> findAllDataByMap(Map<String, Object> searchMap);

    List<EvaluationDataPrice> findAllEvaluationDataPrice(Map<String, Object> searchMap);

    List<EvaluationDataPrice> selectPJpriceData(String[] ids);
}
